<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2021/8/29
  Time: 13:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<%--<%--%>
<%--    //如果不登录，别想访问--%>
<%--    Object userSession = request.getSession().getAttribute("USER_SESSION");--%>
<%--    if(userSession == null){--%>
<%--        response.sendRedirect("/hello/Login.jsp");--%>
<%--    }--%>
<%--%>--%>


<h1>主页</h1>
<p> <a href="/hello/loginOutServlet">注销</a> </p>


<form action="/hello/Login.jsp" method="post">
    <input type="submit" name="返回">
</form>
</body>
</html>
